import { handleActions } from "redux-actions";
import types from '../actionTypes'

const initState={data:[]}
const userAsync=handleActions({
    [types.SET_YONGHU_ASYNC]:(state,{payload})=>({
        data:payload
    })
},initState)
export default userAsync